home *** CD-ROM | disk | FTP | other *** search
- On 13-Dic-97, Mush wrote: Re: GUI extension..
-
-
- >-> 3) There's a slight bug in 'Gui Asl', if I pad the path with '/' (like
- >-> 'ab3:includes/' then the returned filename holds two '/' in row
- >-> ('ab3:includes//test.lnk') and the file can't be found by amos..
-
- >Yes, I fixed this problem in one of my examples for the next release of the
- >extension. Le,mme get the code...
-
- > If A=9
- > ' Grab a file from the user
- > Do
- > F$=Gui Asl$("Pick a List of Email
- recipients..."+Chr$(0),Dir$,"",Chr$(0))
- > F$=Gui Dir$
- >
- > If Mid$(F$,Len(F$),1)<>"/" and Mid$(F$,Len(F$),1)<>":" : F$=F$+"/" :
-
-
- is better:
-
- If Right$(F$,1)><"/" and Right$(F$,1)><":" : F$=F$+"/" : EndIf :)))
-
-
- >This is the code I use in my MPDMailpostV2 routine, and it handles it all
- >fine. It also handles the bug for when you change directorys, as it will
- >only add the / onto the end if it really needs it.
-
- >Any other questions, just ask!
-
- Any other bugs... just ask :) Now the bug is fixed, and Gui Asl$ works
- fine in all the situations ;)
-
-
- --
-
-
- Bye!
-
-
- !!!
- o o
- +-----------------------------oOO-(_)-OOo----------------------------+
- | |
- | Pietro Ghizzoni - Dairymen Soft __ /// Amiga 12OO |
- | E-Mail: ghizzo@agonet.it \\\/// 'O3O 5OMhz |
- | Team AMIGA \/// 18MB - CD4x |
- | |
- | Amos Professional Team Coordinator AMIGA RULEZ!! |
- | |
- +--------------------------------------------------------------------+
-
-
-